package com.xcity.pomelo.response;

import java.util.List;

import com.xcity.game.common.ItemResponse;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@PomeloMessage(type = Message.Type.RESPONSE)
public class DailyLimitBuyInfoResponse extends Response {
	
	private byte state; // @see DailyLimitBuyActivityService#STATE_xxx
	private int rechargeId;
	private int money;
	private List<ItemResponse> items;

	public DailyLimitBuyInfoResponse(int serial, byte state, int rechargeId, int money, List<ItemResponse> items) {
		super(serial);
		this.state = state;
		this.rechargeId = rechargeId;
		this.money = money;
		this.items = items;
	}

	public byte getState() {
		return state;
	}

	public void setState(byte state) {
		this.state = state;
	}

	public int getRechargeId() {
		return rechargeId;
	}

	public void setRechargeId(int rechargeId) {
		this.rechargeId = rechargeId;
	}

	public int getMoney() {
		return money;
	}

	public void setMoney(int money) {
		this.money = money;
	}

	public List<ItemResponse> getItems() {
		return items;
	}

	public void setItems(List<ItemResponse> items) {
		this.items = items;
	}

}
